package com.wzdigit.wms.wms.domain.dto.inv.count;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzdigit.framework.orm.model.BasicDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2021-10-08
 */
@Data
public class InvCountDtlResponse extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 盘点单明细ID
     */
    @ApiModelProperty(value = "盘点单明细ID")
    @TableId("INV_COUNT_DTL_ID")
    private BigDecimal invCountDtlId;

    /**
     * 库存盘点单单头ID
     */
    @ApiModelProperty(value = "库存盘点单单头ID")
    @TableField("INV_COUNT_HEADER_ID")
    private BigDecimal invCountHeaderId;

    /**
     * 盘点单行号
     */
    @ApiModelProperty(value = "盘点单行号")
    @TableField("INV_COUNT_LINE_NO")
    private Integer invCountLineNo;

    /**
     * 任务类型
     */
    @ApiModelProperty(value = "任务类型")
    @TableField("TASK_TYPE")
    private Integer taskType;

    /**
     * 关联盘点任务ID
     */
    @ApiModelProperty(value = "关联盘点任务ID")
    @TableField("RELATION_TASK_ID")
    private BigDecimal relationTaskId;

    /**
     * 工厂代码(组织)
     */
    @ApiModelProperty(value = "工厂代码")
    @TableField("FACTORY")
    private String factory;

    /**
     * 货品
     */
    @ApiModelProperty(value = "货品")
    @TableField("SKU_ID")
    private Integer skuId;

    /**
     * 供应商
     */
    @ApiModelProperty(value = "供应商")
    @TableField("VENDOR")
    private Integer vendor;

    /**
     * 库存性质
     */
    @ApiModelProperty(value = "库存性质")
    @TableField("INV_ATTR")
    private String invAttr;

    /**
     * 品质状态
     */
    @ApiModelProperty(value = "品质状态")
    @TableField("QA_STATUS")
    private Integer qaStatus;

    /**
     * 批次号
     */
    @ApiModelProperty(value = "批次号")
    @TableField("LOTNO")
    private String lotno;

    /**
     * 仓库
     */
    @ApiModelProperty(value = "仓库")
    @TableField("WHS_ID")
    private Integer whsId;

    /**
     * 库区
     */
    @ApiModelProperty(value = "库区")
    @TableField("ZONE_ID")
    private Integer zoneId;

    /**
     * 库位
     */
    @ApiModelProperty(value = "库位")
    @TableField("LOC_ID")
    private Integer locId;

    /**
     * 账面数量
     */
    @ApiModelProperty(value = "账面数量")
    @TableField("ACCOUNT_QTY")
    private BigDecimal accountQty;

    /**
     * 实盘数量
     */
    @ApiModelProperty(value = "实盘数量")
    @TableField("COUNT_QTY")
    private BigDecimal countQty;

    /**
     * 盘点结果
     */
    @ApiModelProperty(value = "盘点结果")
    @TableField("RESULT")
    private Integer result;

    /**
     * 是否复盘
     */
    @ApiModelProperty(value = "是否复盘")
    @TableField("RE_COUNT")
    private Integer reCount;

    /**
     * 最后复盘任务ID
     */
    @ApiModelProperty(value = "最后复盘任务ID")
    @TableField("RE_COUNT_ID")
    private BigDecimal reCountId;

    /**
     * 盘点人
     */
    @ApiModelProperty(value = "盘点人")
    @TableField("COUNT_BY")
    private String countBy;

    /**
     * 盘点时间
     */
    @ApiModelProperty(value = "盘点时间")
    @TableField("COUNT_TIME")
    private Date countTime;

    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @TableField("UNIT")
    private String unit;

    /**
     * 行状态
     */
    @ApiModelProperty(value = "行状态")
    @TableField("STATUS")
    private Integer status;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField("COMMENTS")
    private String comments;
    @ApiModelProperty("库位编码")
    private String locCode ;
    @ApiModelProperty("物料编码")
    private String skuCode;
    @ApiModelProperty("物料描述")
    private String skuDesc;
    @ApiModelProperty("差异数")
    private BigDecimal difQty;
    @ApiModelProperty("初盘数量")
    private BigDecimal firstCountQty;
    @ApiModelProperty("批次属性")
    private String lotAttr;
    @ApiModelProperty("明细是否有SN")
    private Boolean hasSn;

    @ApiModelProperty("当前条码的数量")
    private BigDecimal snCountQty;




}
